{% extends 'assets.twig' %} 

{% block extraStyle %}{% endblock %}
{% block menuBar %}{% endblock %} 


{% block extraJs %}
	$('#assets_files_container div.asset').on('click', function() {
		window.opener.CKEDITOR.tools.callFunction({{ CKEditorFuncNum }}, '/assets/image/' + $(this).attr('data-id') + '/950/');
		window.top.close() ;
		window.top.opener.focus();
	});
{% endblock %}
